package org.tank;

/**
 *启动类
 */
public class Main {
    public static void main(String[] args)  throws Exception{
        TankFram2 tankFram2 = new TankFram2();

        for (int i = 0; i <4 ; i++) {
            tankFram2.tankList.add(new Tank(10+100*i,300,null,true,50,50));
        }

        while (true){
            Thread.sleep(200);
            tankFram2.repaint();

        }
    }
}